package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;

import play.db.ebean.Model;
import search.ISearchable;

@Entity
public class edu_institutions extends Model {
	@Id
	public int id;
	public String name;
	
	public static Finder<Long,edu_institutions> find = new Finder<Long,edu_institutions>(Long.class, edu_institutions.class);
	
	public static edu_institutions findById(int Id) {
        return edu_institutions.find.where().eq("id", Id).findUnique();
    }		
}
